<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    // 函数的多个返回值获取
    function fn(){
		return {
			a:1,
            b:2
        }
    }
	const {a,b} = fn();
	console.log(a,b);
</script>
</html>